Improve reporting of github rate limiting errors, fixes #2183