It could be as simple as substituting a garlic flavored liquid margarine for the margarine in the ‘regular’ recipe. I haven’t used this sort of recipe, but that’s where I would start. Simple, no botulin issues, sturdy garlic flavor, could be one set of measurements with just the substituted product.