Fixed bug in pathmanager fallback

The default fallback implementation uses a priority queue and will
therefore remove path items on iterate.
Cloning the current instance before iterationg over it.