Updating the check for translation extraction to ignore filename.
Updating the check for translation extraction to ignore filename.

Before it was only checking the entire path for a prefix to ignore, now it checks the filename as well.

Fixes #992

grow/grow,grow/pygrow,grow/grow,grow/grow,grow/grow,grow/pygrow,grow/pygrow