How many production systems have you come across that could be dumped onto the public without any cleaning? Credentials, build systems, personal information, patent use, are a couple of examples that I've seen in prod code that couldn't or shouldn't be included.
Assuming the cost of open sourcing something is zero, even if it's just a zip dump, is usually not correct.