If you really want to know what is going on here, give the substance to a vet to stick in formalin and submit to a pathologist for histology.
Intersex conditions in snakes would not surprise me, it happens all over the animal kingdom. However, I would love to know more about intersex snakes reproducing successfully. I would have thought, based on my knowledge of intersex mammals, that the condition would lead to infertility.