locale_gen: Fix locale with no '.'