Ignoring the money for a second, I think for some people (author clearly aside), maintenance work can be the interesting work. As long as there's buy-in from the business side of the house – they understand the goal in its full extent is to reduce technical debt and increase future development agility, and that there will be no visible changes to end users – it can be very rewarding to refactor old code.