Moving replacePathParams to the applyBaseUrl helper instead of inside
Gofer directly