Fixing exception in purple.Purple.__core_ui_ops_ui_prefs_init.