Fix for Ubuntu

On ubuntu there is no `/etc/locale.gen`, `/var/lib/locales/supported.d/local`
is used instead.