   createAtomDirectories: ->
     fs.makeTreeSync(@atomDirectory)
     fs.makeTreeSync(@atomPackagesDirectory)
+    fs.makeTreeSync(@atomGitPackagesDirectory)
     fs.makeTreeSync(@atomNodeDirectory)
 
   # Compile a sample native module to see if a useable native build toolchain

      gitPackageInfo = @getHostedGitInfo(name)

      if gitPackageInfo
        targetDir = path.join(@atomGitPackagesDirectory, gitPackageInfo.project)
        @installGitPackage gitPackageInfo, targetDir, (error) =>
          return callback(error) if error
          pack =
            name: gitPackageInfo.project
          installDirectory = temp.mkdirSync('apm-install-dir-')

          tasks = []
          tasks.push (cb) -> fs.cp(targetDir, installDirectory, cb)
          tasks.push (cb) =>
            options.cwd = installDirectory
            @installDependencies(options, cb)
          tasks.push (cb) -> fs.cp(installDirectory, targetDir, cb)
          async.waterfall tasks, options.callback

      else if name is '.'
        @installDependencies(options, callback)
      else # is registered package

path = require 'path'

async = require 'async'
CSON = require 'season'
_ = require 'underscore-plus'
yargs = require 'yargs'
CSON = require 'season'
