Fix issue with sentry virtualenv state