JGit cannot currently run GC on DFS backed repositories. Only offer GC if the implementation of GitRepositoryManager is the default LocalDiskRepositoryManager, which uses FileRepository, a type JGit knows how to run GC on. Change-Id: I23df492cb9657ca7bb5190b5313d2e62cdd87df4