Fix some issues with partrepair ignoring pear errors.