Fix a bug preventing using templates in param.yml

The bug has been fixed.