Update parse_templates.py

Ready for working in any directory in repo sub directory like :openshift-diy-php