Don't check for locale when running in console