fix typo in gloss processing
prevent exception when saving localdict

    avoid exception whan saving dictionary when None's
    are present somewhere in Gloss object. This commonly
    happens when Gloss object is returned by glossstring parser