sys-user.eclass: refactor (and fix) the pkg_pretend checks.