Homeowners are often warned to brace for the unexpected. After all, you could purchase a home that passes its inspection with flying colors only to face a costly repair a few months down the road.