0Previously, building from a release source tarball would result in a
1version string like v22.0.0-<commithash>, but we expect just v22.0.0.
2This commit solves this problem.
3
4Also use PACKAGE_VERSION instead of reconstructing it.
Fixes the underlying problem of #22623