clone: detect errors in normalize_path_copy