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

* Minor fix.