autodoc tries to import discovered modules independently from their
runtime use.
As swh/deposit/settings holds multiple runtime settings (including
production), this wrongly tries to load the production one.
This fixes the global html documentation generation.
Related T1182