Fix: paths of unknown types are handled correctly