Understanding what the tax code actually offers, and what it doesn't, can save homeowners from making bad financial decisions.