That's good enough for me.  Let's document the need to be the superuser in the help string, then.  It might also be worth making the inline commentary say why you're doing that check so early.