Refactor calls to sudo_pipe
Split GitoliteWrapper into modules