Fix local_path bug.