Fix displaying of rebuild errors