That was one of the takeaways from this whole episode. In its wake, the Technology Transformation Services and 18F resulted. Part of what they do is show government agencies a better way of procurement (a "modular" or "agile" approach). Performance-based contracting, and where the source code is, say, in a GitHub repo rather than on the contractor's servers. Contractor not performing? Get rid of them and get someone who will. Need to change the deliverables? No problem because you're not contracting for a deliverable anymore.
The federal government is a big beast, though, so it takes a while for the idea to spread.