XWIKI-9815: Importing unknown confluence page types with attachments triggers error

Extended test case and simple fix
See my comment in the issue (upcoming in a minute)