py-version.sh: Make it work in case no git tag is present.