XWIKI-10935: Recurrent stacktrace after having deleted a wiki
XWIKI-10972: Global localization bundle is not unregistered when the wiki it's part of is deleted