OAI-PMH autorepublish fails due to invalid URL's of catalog files
Steps to reproduce
The OAI-PMH publication service and download distribution service are often in error state if you run some fix-metadata-and-republish-to-oaipmh workflows. In case of error you will see an error message like: can not distribute catalog, with inner message: file not found. The mediapackage, the oaipmh autorepublish code get from the asset manager (through ActiveMQ) contains URLs pointing to the working file repository. But in some situations, the workflow instance is finished and the associated files are removed. This is the root cause of the problem.