Fix template generation for jclouds.