For me the decision is based on whether the option has wasteful packaging or not. Garlic in a jar? No problem. Mushrooms pre-sliced in a plastic package, no way Jose. Gimme those ones I picked out myself and put into a paper bag.
I'm a bit of a food snob and recently bought a jar of minced-in-oil-garlic… got tired of finding green sprouts in freshly purchased bulbs (it's overripe, toss it). I give up.