canonicalize path before looking up in the mapping dictionary