Fix some errors in the raven / sentry configuration