correct the arguments passed to dpkg_version and rpm_version