upnp: fix reported parents of irregular paths