The 0003 migration from the certificates app of the LMS requires that the S3-like platform is correctly setup during initialisation. To solve this issue, we introduce a pre-init hook that is run prior to the LMS migrations.