Fixes specifications for Init#_getDefaultLocale(locales)