PDI-7734 - EE Repository export with Rules: When it fails, no UI feedback is given and the file is incomplete

These changes are needed by pull request to pdi-ee-plugin .