XWIKI-9738: Finalize migration from workspaces to the new wiki API.

* Minor fix.
Merge pull request #224 from gdelhumeau/XWIKI-9738

XWIKI-9738: Finalize migration from workspaces to the new wiki API.