XWIKI-9534: Export action does not do anything when exporting a page and wikisrream is enabled
* fix another related big
(cherry picked from commit 0936a73dd24029bcfc01f470bcb258ebed6cd5db)