       if metadataPath = CSON.resolve(path.join(packagePath, 'package'))
         try
           metadata = CSON.readFileSync(metadataPath)
-          normalizePackageData(metadata)
+          @normalizeMetadata(metadata)
         catch error
           throw error unless ignoreErrors
 


    @resourcePathWithTrailingSlash ?= "#{atom.packages.resourcePath}#{path.sep}"
    packagePath?.startsWith(@resourcePathWithTrailingSlash)

  @loadMetadata: (packagePath, ignoreErrors=false) ->
    packageName = path.basename(packagePath)

path = require 'path'
normalizePackageData = null

_ = require 'underscore-plus'
async = require 'async'
