sudo: fix for checking if admin when on a domain