XWIKI-10935: Recurrent stacktrace after having deleted a wiki

(cherry picked from commit 7ad2e4fde75ae651f45fec76589db8e545ec27ef)

Conflicts:
	xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/main/java/org/xwiki/localization/wiki/internal/DocumentTranslationBundleFactory.java