Regardless of what you think of the joke itself, it is sexist to contribute (willfully or cluelessly! Ignorance is not an excuse!) to a hostile work environment for women. Full stop. If you didn’t realize you were doing it, that means you haven’t bothered to think critically about women’s comfort and needs. It’s fucking 2013. It is not women’s responsibility alone to correct gender imbalances. We need men to help.