Fix getGitVersion showing a clean repo as modified