Fix null pointer dereference in astar routing when graph is disjoint and no routing path exists.

Changes situation in which no path is found to provide a non-error empty result.