How about avoiding those with personality traits which the article says make incompetent people look competent: psychopaths, narcissists, risk seekers,the over-confident, the arrogant, the manipulative, etc.?
Some women have these traits too, so discriminating by sex isn't the answer.