Pride is a fetter to enlightenment -- that is, liberation from life and death, and from causality itself -- but it can also be a supporting factor for good deeds.
No one would regard self-esteem as a fetter because it is "pride"; the same goes for self-respect, dignity, honor, etc.. Instead of narrowly judging reality according to technical terms, notice: Pride can be the cause of arrogance or foolhardiness, but it can also be a support for positive things.
And the same is true of patriotism.
Patriotism can be jingoism, a fuel for war, xenophobia, discrimination, and belligerent diplomacy, but it can also be a source of personal self-worth, confidence, and faith, which supports right living.
As another example that comes to mind, because most of Buddhists -- let's be honest here -- are leftists, most of you would likely approve of multiculturalism. But when a person is proud to be black, hispanic, or Asian, is this not simply a form of sub-nationalism? What is it about being proud of one's own country that is necessarily harmful, but pride in one's racial heritage is not?
One can clearly see examples of racial nationalists that are harmful, like the Nazis, KKK, Nation of Islam, etc.. Even radical Muslim terrorists today are motivated by a kind of religious nationalism. But on the other hand, there are also clearly cases where nationalism has, for instance, bolstered a minority student's academic and post-academic success or encouraged charity.
Pride itself is never outright harmful unless it's coupled with something else, like hatred or fear. But pride can also be coupled with good things, like compassion and lovingkindness. Now, if a person is proud of doing good things, and this pride supports their actions, is that not a good thing?
The important thing is what it is a person's pride is based on and what it supports. A person should not be patriotic arbitrarily or ignorantly, but if a person is "proud" that their nation supports peace, freedom, and prosperity worldwide, that's a good thing.
The best things in life aren't things.