Use template_name since template_path can be undef in 4.91