Polymorph/wildshape+ bag(s) of holding

If a druid who has a bag of holding uses wildshape to become a bug,then the bag is absorbed not dropped. Then someone puts said bug in another bag of holding, what happens? What if the druid where polymorphed instead?