Git: fix command debug log without GitPython installed