https://logs.l10n.kde.org/180621.branches_stable_l10n-kf5-plasma-lts reads:
Warning: language x-test contains POT files!
x-test/messages/kde-workspace/plasma_wallpaper_org.kde.pod.pot
add char $ to regexp to replace only "pot" when this is a file extension, i.e at the end of the filename string
patch should be applied to all branches tracked by scripty