fix not_if condition inside pkg_install