Fix error in get_git_version