Use env rather than @env when constructing fallback request data.

This PR fixes one remaining reference to `@env` where it should be `env` in the Rails middleware.