[resolver] do not expose targetPath.

[resolver] use path to remove cached images.

[resolver] do not expose targetPath.
remove "targetPath" from bundle dictionary