Fix github enterprise — be able to provide a path prefix

See https://enterprise.github.com/help/articles/using-the-api and #105 for more details