Add :raises: to docstring of resolve_existing_path.