GetGitRevisionDescription: Fix bug when tpie/.git is a file with a relative path.