Fix deprecation error for git completion