XWIKI-9932: Broken WikiStream based XAR import

(cherry picked from commit df45241140b2297310c1b21346f099d047f7f149)