Fix a bug in add_path_resolver: map -> dict.