Latte: updated get full template name method