tests: Adapt init_sentry api change call with environment parameter
New latest release on swh.core added the environment parameter.
This will fix the current broken jenkins build [1]
[1] https://jenkins.softwareheritage.org/job/DDEP/job/tests/658/console