I'm afraid this is one of the fundamental issues in educating a client as to the relevance of the user's expereience with their product - ie a failure to understand (or even be aware of) the benefits of analyzing and providing a good (or great) user experience.
Getting buy-in from a client, or from management, or marketing is very hard if they do not see the bigger picture and the value of extra investment in ux and usability testing. For many, so long as the software achieves the desired task, for the lowest cost and shortest time, that is all that matters. Why spend more and take longer, when the final outcome is software that does the same? In addition, if a company has had to fight to win or negotiate on a contract, there will have inevitably been compromises made. Sadly, this area is one of the first to suffer when things get tight.
You especially see this where there is little or no competition - in a niche market, or a very technical or scientific area - why bother doing more than you need to get the job done? That is why there is so much bad software around. Shoe string budgets, tried and tested technologies, cheaper development costs, fast turnarounds - they are all important factors, but at what cost when!
It has for a long time been the case that the field of technical software development and the field of user interface design (and the associated ux/usability) are non-overlapping. So many developers hate the ui, and those who love the ui are less keen on the core development. When hiring a team of developers, management easily forget the need to hire the appropriate range of skills.
The thing is, incorporating a great user experience does not involve immediately apparent or tangible assets. The return on investment is unclear and for many management staff, whose jobs may be on the line, or who need to impress, their ability to produce deliverables quickly and cheaply is what counts the most.
It very much falls on the ui/ux/usability evangelists (and we do seem to have something of a passion in this field) to educate management/marketing/board/stakeholders to see the benefits, but if there's no-one in the company to do this who has an impact on decisions internally - that can be near impossible.
However, all is not bad. The influence of a good ux is being understood by more and more companies, largely as mobile devices and websites are separated by their experience of use, as opposed to the features incoporated. UX is rapidly starting to become a great selling point over the competition. It's taking a long time getting there, but the overall situation is improving and improving fast.