XWIKI-9004: PostgreSQL wrongly tries to switch to the schema with database name when in database mode