I wasn't sure if this would work without messing up the pickles, but really all that's in the jarred garlic other than garlic and water is citric acid to preserve it. AKA, the stuff that's in every citrus fruit. Making the real question was would citric acid mess up pickles? And, nope. After doing some net digging it even looks like there's citric acid based pickling methods out there, and it's just another food safe acid like the vinegar.