XWIKI-11229: Wiki Index fails for guest users with a NPE