Correctly handle get_children() with a path that does not exist