Properly handle unreachable destinations while pathfinding
Add debug flag for porter