ensure the template key is relative to the template root