properly handle paths for which no node was found
Fixed unit test
Merge pull request #179 from dantleech/fix_node_path_iterator2

Fixed unit test
Merge pull request #178 from jackalope/fix_node_path_iterator2

properly handle paths for which no node was found