That is where accountability differs from responsibility. It is the business of the government to make sure that:
* the contract with the software vendor is free of the kind of fuckery you mentioned
* the product it has signed off on at the end of the processes is fit for purpose.
Lawyers and programmers are responsible for crafting contracts and software. The government is accountable for the end result.