Revert "Do not wrap path in direct path vector before inserting in the path node."

This reverts commit 322e21dc51faf7162daaeddaee9b8f513538352c.