Refactor calls to GitoliteShellWorker