packer: only show git commit in version output for prerelease