XWIKI-6199: When documents containing attachments were imported, XWikiAttachmentArchive.getVersions() throws an NPE if there is only one version