Use correct v3 API endpoint on GitHub Enterprise
Use correct v3 API endpoint on GitHub Enterprise

Fixes #1703

Closes #1724
sindresorhus/refined-github,busches/refined-github,busches/refined-github,sindresorhus/refined-github