Correctly use pkg_version and capkgs_version