make git_ver work with tarball