Set Sentry environment from meta
Requires backend!1831 (merged), closes #1096 (closed)
Note that the environment was just never set to any value before: Sentry (the SaaS app, not the JavaScript SDK embedded in the frontend) just started assuming a production
environment out of nowhere at some point.