setLocale should not run for real devices

* add a check if the udid is null to determine if setLocale should run
* log message if we do/don't setLocale

ISSUE: 1611