Fixed lp:1098845

Catching KeyError for Gtk theme refreshing.