Add some files to a guard rule
We don't need an array there
Unavailable locales were being incorrectly set

This fixes it. Thanks @MoxNox for reporting it
Fix trailing whitespace
Fix typo