Sure - I'll choose GitHub based on this and other well-publicised "incidents". I don't see any evidence of a lack of professionalism - in fact, I see a company attempting to follow at least some definition of an ethical code, whether that is as a result of internal or external pressure.
If following an ethical code is banning projects that don't align with your political ideology, then I don't want to associate with companies that "follow an ethical code".