Exceptions workaround for compiling with git-client v1.1