Support repositories with relocated Git directories (e.g. submodules)

And it works for BasicSccProvider.sln. :)