Fixes problems when getting package version information.