Issue XWIKI-10242. Incorrect implementation of xwiki.getDefaultPage().
Merge pull request #269 from soLEED/XWIKI-10242

XWIKI-10242: Incorrect implementation of xwiki.getDefaultPage()