Fix detected po2json version when the module is installed globally.

Previously this added garbage to the version string, which made configure output confusing in this case.