Fix pattern match for translations

Fix the pattern match so that the if condition matches files
ending with ".po"

Change-Id: I69aea5703438fa354a7ec4a7d4ec578fc7d631cb