Skip sudo when accessing as root

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>