MULE-6831: Applications deleted when deployment fails

_  Fixing flaky test