Sorry, but I don't think there's a distinction to be made, other than one of degree unless the implication is that improving government/military processes is not aligned with the long term goals of the military.
Good point, but I think the average person who has reservations about some military functions isn't necessarily wholesale opposed to all functions of the military.
I was in this business for a while too and did some really cool stuff. But in the end this system transfers public money to enrich these companies; and the DOD basically pays these companies to learn how to develop technology that the company can then make huge profits on. It's a racket. I'm torn about it; philosophically, morally, politically I'm opposed to war and using technology to control people. But the skills I got and the smart people in the industry were great. Plus the projects are cool from like a 13 year old boy perspective, but if you stop to think that big data, autonomous vehicles etc will be used for death and increasing the powerful people's ability to control us, it's might not be worth it.