GTNPORTAL-3314 Import page fails in pages.xml with empty <preferences>

To merge in master and 3.6.x.
Thx.