git library utils should not assume the run_as user can login. use sudo instead.