Bad $refs are now reported as errors.