Compare absolute paths in datapackage
Make sure to convert pth argument to a path object