XWIKI-10567: layoutExtraVars.vm must be empty by default.

* Fix failing tests.

(cherry picked from commit 3d66bb9e1be0648628c2ba1f55a1c54c7cd4f9aa)