Not worms. If they did have a worm infestation however, you wouldn't likely see any anyway.
Perhaps that bird takes a different path to the nest which takes her under the roost or somewhere else she steps into feces and tracks it into the nest.
It is extremely unlikely that the feces comes out...