That's not a glitch. That's an oversight.
Some Pokemon only appear in one form for outbreaks. The map icon rolls with different criteria than the Pokémon in the outbreak.
Gender still presents in typical fashion.
Dunsparce can meet the criteria for either evolution type (this one I have experienced myself).