detect_well_known_errors doesn't need the subprocess module anymore.