Fix a bug in GitHandlerSupport