Added check for uninstallable packages