fixed checked mode exceptions
Merge pull request #2734 from devoncarew/devoncarew_git_exceptions

fixed checked mode exceptions