git-p4: Fix error message crash in P4Sync.commit.