XWIKI-10777: "Failed to get localization bundle" when restarting the server
* bulletproofing to avoid caching empty translation when failing to load it

Signed-off-by: tmortagne <thomas.mortagne@gmail.com>