Guard against an exception in git-monitor