XWIKI-9480: "Upgrade all wikis" option does not work.

* Fix the migrator.