delete unused pkg_get_installed_rpm function