[COOK-3141] Do not duplicate template entires for multiple paths

https://tickets.opscode.com/browse/COOK-3141