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