Fix bug in `supported_locales` (thanks to Bruno Adele)

When no line in the file matched the pattern, grep returned 1, which
made the operation fail.