XWIKI-8835: Nullpointer exception when "xwiki.virtual_mode" is not set in hibernate.cfg.xml with Postgre SQL
(cherry picked from commit 3019c6e0df112adf980641c75aaaffb2f0b17c6f)