To really understand the issue, you need to look at all the facts. And yes, while women are underrepresented in open source, LGBT people are overrepresented - almost double their percentage in the general population in fact (7% vs 4%).
So any theory of "open source drives away women" has to explain why it has the opposite effect on LGBT people. There isn't going to be a simple answer there and maybe we aren't even asking the right questions yet.