run.py: do not call sudo if script is launched from root