The bottom line is any paper made public will be examined and possibly turned into a story, so evidence and conclusions better be up to snuff or risk damaging one's and the institution's reputations.
The problem is with the media and the way things were spun. Correcting that should not involve stifling the workflows scientists use. The GitHub analogy is a good one as what you're suggesting is the equivalent of only pushing perfect code.