exit with returncode of '2' when pkgmgmt can not be determined