Still need the nil check

The logic is that if locales is not defined then we build
for all languages, to prevent builds in all languages set
to an empty array.