Garlic is commonly seen as (strongly) stimulating metabolism, right?
Of course I'm joking, but also wondering if there isn't a fragmented memory of a folk remedy buried in that bit of lore, alongside the "people with <disease> hated the smell" explanations.