Merge pull request #269 from soLEED/XWIKI-10242

XWIKI-10242: Incorrect implementation of xwiki.getDefaultPage()
(cherry picked from commit 2f8f226a82b59fc2b4acebb0c25af67fd90ffae1)