Update templates path to exclude for 3.x