XWIKI-8785: Imported document gets their parent resolved against the default resolver
(cherry picked from commit f46d95f4773e34102a3f53f97870c0474ac5458b)