`Pathname.new(@root).join(Pathname.new(remove_root(name.to_s)))` is effectively making `name` absolute, but it's doing so in a very roundabout way that runs the risk of failing if `name`'s prefix isn't textually identical to `@root`'s.