This duplicates the logic of reading config files that is in GitHubAPI.

Could there be a way to re-use the config object? Maybe accessing `api_client.config` or something like that?