pathItems["name"] read as undefined and "name" in pathItems was false
even when a path had that name, while pageItems gives the object
getByName gives. pathItems now does the same: a read with a name
nothing has throws Not found, and the in test is false for it.
Applied on main's paths module, keeping its import list.