Improve errors when we are trying to access a git repository with partial history (+ fix fetchGit on these repos)