Fixed SmartHomeMetaTypeParser for null as locale.