Fix calling parse_pathspec with no paths nor PATHSPEC_PREFER_* flags