[package] common.sh: make sure ischroot gives us a good value; check for both values in case