packages: improve install_packages_disabled()
packages: improve install_packages_disabled()

support RHEL and import some fixes on Debian

enovance/edeploy,lebauce/edeploy,redhat-cip/edeploy,lebauce/edeploy,enovance/edeploy,lebauce/edeploy,lebauce/edeploy,redhat-cip/edeploy,enovance/edeploy,redhat-cip/edeploy,enovance/edeploy,redhat-cip/edeploy