XWIKI-11446: ClassCastException when trying to Import a XAR