[resolver] do not expose targetPath.