fix *.git prefix in repo.base