fix Pirum searching for template files in the wrong directory