Fix for bad locale entry, LANG is a colon-separated list of prefered locales, LC_CTYPE is single entry, thus we need to remove all but one entry. There is also no idea setting it if it is already set.