Simplify check_root()

Oops! Fix a logic bug in the uid 0 check. Also, simplify the code by
removing unnecessary branching.

Signed-off-by: Rupert Muchembled <rupert@rmuch.net>