Your bud is definitely not properly dried. I suspect your buds were not dried enough before the grower packed them in plastic bags or other sealed containers. And I'm sure the buds weren't cured either. It is possible that nasty stuff could have grown on the buds in the humid, anaerobic condition they were in. You could try drying out what you have. Let it dry until you can snap a stem (or almost snap a stem). If it still tastes like rotten veggies, then I would toss it. It could be infected with mold or fungi.

If you want play it safe, you might just want to toss it now...but it would be a bit of a shame considering how good you described it to be.