Adjust for JDK 8 where an empty locale is added to the array returned by DateFormat.getAvailableLocales()