Fixes creating a Repo for a submodule (#155)

Looks for the actual location of the Git directory.