PTP: Fix port/master selection when paths go away.