 
     {profile} = KD.whoami()
     path = if 'string' is typeof manifest then manifest else manifest.path
-    path = if /^~/.test path then "/Users/#{profile.nickname}#{path.substr(1)}" else path
+    path = if /^~/.test path then "/home/#{profile.nickname}#{path.substr(1)}" else path
     return path.replace /(\/+)$/, ""
 
   # #

          callback? err
        else
          callback? null


  # cloneApp:(path, callback)->

  #   @fetchApps (err, manifests = {})=>
  #     if err
  #       warn err
  #       new KDNotificationView type : "mini", title : "There was an error, please try again later!"
  #       callback? err
  #     else
  #       manifest = getManifestFromPath path

  #       {repo} = manifest

  #       if /^git/.test repo      then repoType = "git"
  #       else if /^svn/.test repo then repoType = "svn"
  #       else if /^hg/.test repo  then repoType = "hg"
  #       else
  #         err = "Unsupported repository specified, quitting!"
  #         new KDNotificationView type : "mini", title : err
  #         callback? err
  #         return no

  #       appPath = "/home/#{KD.whoami().profile.nickname}/Applications/#{manifest.name}.kdapp"
  #       appBackupPath = "#{appPath}.old#{@utils.getRandomNumber 9999}"

  #       @kiteController.run "mv #{escapeFilePath appPath} #{escapeFilePath appBackupPath}" , (err, response)->
  #         if err then warn err
  #         @kiteController.run "#{forkRepoCommandMap()[repoType]} #{repo} #{escapeFilePath getAppPath manifest}", (err, response)->
  #           if err then warn err
  #           else
  #             log response, "App cloned!"
  #           callback? err, response

  # #
  # HELPERS


  fetchCompiledApp:(manifest, callback)->

    indexJs = FSHelper.createFileFromPath "#{@getAppPath manifest}/index.js"
    indexJs.fetchContents (err, response)=> callback null, response

  # #
  # MISC
