Make tests pass if XDG config exists
Merge pull request #1872 from libgit2/config-isolate-xdg

Make tests pass if XDG config exists