In the United States there has been a long history of discrimination against national origin, especially of recent immigrants. Poles were just used as an example here of a national origin.
True, but U.S. anti-discrimination law rarely speaks directly about race, and instead uses the broader phrasing "race, color, or national origin", which covers pretty much anything race- or ethnicity-based.