XWIKI-10688: When XWiki is configured for ultra short URLs, links to the homepage become links to the current document
Fixed.