XWIKI-9333: Links to the main wiki are broken in a domain-based multiwiki if xwiki.home is set in xwiki.cfg