Ignore errors in git error handling in verbose mode in Python 3