Hermaphroditism is caused by stress, genetics, or a combination of the two. It will bud but you'll probably get more sacs even if you fix the source of the stress causing the hermaphroditic tendencies. If it's unstable genetics, not much you can do.
There re is a product called optic foliar switch. It prevents plants from herming. For future reference.
One the biggest causes of hermie stress is from not getting 12 hours of complete darkness every day. Light leaks, malfunctioning timer, etc.
What strain is it? Seed or clone?