function onPkgs( error, names ) {
		if ( error ) {
			debug( 'Encountered an error when resolving packages: %s', error.message );
			return clbk( error );
		}
		debug( 'Successfully resolved %d packages.', names.length );
		if ( names.length === 0 ) {
			return clbk( null, names );
		}
		debug( 'Packages: %s', names.join( ', ' ) );

		debug( 'Filtering packages for browser compatibility...' );
		filter( names, opts.dir, onFilter );
	}
Callback invoked after finding packages.

@private
@param {(Error|null)} error - error object
@param {(EmptyArray|StringArray)} names - list of package names
@returns {void}