That's generally true and since I like his positions on foreign policy and he's been consistent in that area I've been an admirer for a long time.What Bernie has that armors him against Trump is sincerity. He's got a 50 year record of saying the same thing. He's not a flip flopper.
But even Bernie isn't immune to the Gungrabbiness Uber Alles ethos of his party. Last time around, Hillary challenged him on his support for the PLCAA and he immediately folded and adopted the party line.
If he's the nominee, I'll likely vote Libertarian again. The only one who could inspire me to vote for Trump would be Bloomberg because he's a fan of the stupid prohibition programs embraced by both halves of the Duopoly. The perfect storm of nanny statism.