def repo
      @repo = nil if site.repository != @repo.source unless @repo.nil?
      @repo = nil if options[:repo_cache_root] != @repo.cache unless @repo.nil?
      @repo ||= Repo.new.tap do |r|
        r.cache = options[:repo_cache_root]
        r.source = site.repository unless site.nil?
      end
    end
def repo
      @repo = nil if site.repository != @repo.source unless @repo.nil?
      @repo = nil if options[:repo_cache_root] != @repo.cache unless @repo.nil?
      @repo ||= Repo.new.tap do |r|
        r.cache = options[:repo_cache_root]
        r.source = site.repository unless site.nil?
      end
    end
The corresponding {Repo} for this environment.