XWIKI-10617: StackOverflow exception on startup with possibly corrupted extensions
* this commit is more about making the initializer stronger but there is no much we can do to workaround the real cause