Fixing Path.relativeTo for directories, a Path whith endsWithSlash==true had this property stripped, when made relative to another Path.
Fix automatic removing of packages. Path's created for directories were missing a ending slash '/'.