Indeed, my read as an expat living in HK is that HKers treat mainland China Government as an enemy, not so much the people. It's even said clearly when you go to the protests, people complain about the Beijing government...
I think it's unfortunate, but understandable, that there's a certain amount of contempt for mainlanders beyond "love the people, hate the government" as the problems go beyond the government (e.g. affluent mainlanders stocking up on 'safe' supplies from HK).