Steps to reproduce:
1. Upload a file with PRESENTATION flavor and OAI-PMH distribution but not AWS S3 active (and configured)
2. The job will get stuck/fail in OAI-PMH distribution and the whole system is halted because of the deactived AWS service.
3. I could not reproduce it on octestallinone but Michael Stypa could reproduce it too.