Part of the problem is that we mostly don't know how good managers do what they do (and they don't either).
Their knowledge is tacit. And we have to make a tacit judgement when hiring -- which means that memes about gender necessarily exert an unquantifiable influence.