def path_for_name(name)
      possible_paths = [repos[name.to_s], "repos/#{name}", name].compact
      path = possible_paths.detect do |path|
        Dir[path].present?
      end
      raise BadRepoName.new(name, possible_paths) if path.nil? || path.empty?
      path
    end
def path_for_name(name)
      possible_paths = [repos[name.to_s], "repos/#{name}", name].compact
      path = possible_paths.detect do |path|
        Dir[path].present?
      end
      raise BadRepoName.new(name, possible_paths) if path.nil? || path.empty?
      path
    end
creates new config object, pass in directory where `heroku.json`
 is located
 use this method to turn "codetriage" into repos/rails3/codetriage