Fix wrong conditional

The `unless process.env.HUBOT_GITHUB_API` conditional was wrong and the script was not working on non-enterprise APIs.
Merge pull request #1207 from pedrogimenez/patch-1

Fix wrong conditional