Fix settings on first migration
Refactor calls to sudo_pipe
Split GitoliteWrapper into modules