Usually I get really mad. Mainly because it is ME that will have to fix and refactor something that could have been done right in the first place.
-- Hey, why don't we work on this great new feature that could bring value to the project?
-- Can't. We are rewriting the bad software we wrote a while ago.