build_tar.sh: re-fix version fetching from git tag