Of course you wan't a government with the nations interest at heart. But I don't think the phrase is just a slur.
Governments that are described as nationalist have a tendency to find enemies within its own borders by claiming that a subset of the population aren't true nationals because they don't originate from the country or because they don't share some cultural norm.