ensure template task uses dest path from config