Prevent cinnamon crash when an invalid gsettings schema is used.
Many thanks and all credit to @lestscape (#3692)