Fix `./pants --version` for `pantsbuild.pants` PEX (#14963)
Fix `./pants --version` for `pantsbuild.pants` PEX (#14963)

Closes https://github.com/pantsbuild/pants/issues/14938.

[ci skip-rust]
benjyw/pants,benjyw/pants,benjyw/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants,pantsbuild/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants,benjyw/pants,pantsbuild/pants,benjyw/pants,pantsbuild/pants