Remove empty strings from the list of locales. Fixes issue #198