This seems like it requires such narrow definitions of things like "closed environment" that it loses applicability to the real world. It's a heuristic worth considering, but not a universal principle.
It's not that hard though. Until we integrate extraterrestrial code into our package managers, you can call earth our closed environment. And if your company has strict offline and library requirements, you could even define it for your place of work.