Fix misuse of path.