LPS-39778 Dont return default locale when getting locale from language*.properties files