The whole thing with vampires and garlic is fake news, instigated by the vampires themselves. Vampires LOVE garlic. Transylvanian peasant quisine was rather bland, rendering their blood similarly so. By spreading this rumor, the vampires got their prey to spice it up a little.