Sounds a little sexist, maybe with good intentions. Maybe it's time to look for the best qualified candidate regardless of sex? Edit: Why downvote? Isn't this the same logic touted by equality organizations?
Also with women being systematically excluded from many opportunities in tech, this is hardly going to deprive some man of an opportunity.