Don't use sudo if the backend implicitly calls it

Also don't rely on alias expansion to handle the pacman, because aliases are
not expanded in sudo.