Drop `env.response.data.head.apiPath` variable.

Use `getApiPath()` template helper instead.