There should be a comment explaining why the path is modified here.