Fix for https://github.com/peter-murach/github/issues/146

Fix for https://github.com/peter-murach/github/issues/146