XWIKI-9410: EM should not delete mandatory document even when it's part of a uninstalled/upgraded XAR