         else
           @emit 'package-uninstall-failed', pack, error
         callback(error)
-
-    @runCommand(args, exit)

        error.stdout = stdout
        error.stderr = stderr
        callback(error)

    @runCommand(args, exit)

  getAvailable: ->
    if @packages?

    new BufferedNodeProcess({command, args, stdout, stderr, exit})

  loadAvailable: (callback) ->
    @runCommand ['available', '--json'], (code, stdout, stderr) =>
      if code is 0
        try
          @packages = JSON.parse(stdout) ? []
