Can't find the original post, but in the Errata op www.selikoff.net it states the following:
468 Chapter 9 In the box, Path1.relativize should be path1.relativize Typo Guillaume Bailly 2016-02-27 Pending
However path3 should also be renamed to path2, as the example doesn't have any path3 declared.