Bugfix using api URL and setting API url

When setting the gh_web url it's safe to assume one is using GitHub Enterprise
so should assume the API url is based on the web_url.

getFile was using hard coded API url instead of the gh_api variable.
Remove fileExists from GitHub remote