get_new_absolute_nodes_path: create Path objects when iterating
Otherwise after iterating through this loop once, the next loop crashes
due to newdir now being a string, and therefore no exists
method.
Otherwise after iterating through this loop once, the next loop crashes
due to newdir now being a string, and therefore no exists
method.