Fix for mkedanlzr

- These fixes are needed for use in a container

- Needed for releases from CMSSW_6_2_X onwards (when python was 1st used for generation of templates)

- Closes #49
1 job for mkedanlzr in 4 minutes and 22 seconds (queued for 3 seconds)