Handle undef better in Gimp::UI.