in run_..._cmd_as_gitolite_user, escapes input two times: for eval and for sudo
a better way to test sudo, compares 'whoami' output instead of 'echo yes'