make ResourceFinder return pwd in absolute form, and avoid duplicates [thanks Elena Ceseracciu]