Fix finding Python scripts
Maniphest Tasks: T6503 Differential Revision: https://phabricator.kde.org/D6771