Shouldn't these handlers be assigned only when `useGitFtp` is `true` ?