XWIKI-10935: Recurrent stacktrace after having deleted a wiki
* bulletproofing

(cherry picked from commit f43b094040e635688d2452ed95bf47f27326d887)

Conflicts:
	xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/main/java/org/xwiki/localization/wiki/internal/AbstractDocumentTranslationBundle.java
XWIKI-10935: Recurrent stacktrace after having deleted a wiki

(cherry picked from commit a5f0f34896cb74e413f2fb56d1f486130292f240)
XWIKI-10935: Recurrent stacktrace after having deleted a wiki
* more bulletproofing

(cherry picked from commit 775fdf724e8d5f37c689f13f4e30e04877bc48fe)