Do not match snippets that have locales if client locale is invalid.

Fixes a bug where invalid locales are matching tons of snippets that
they shouldn't be receiving.