swallow EPERM errors when trying to find the mount point for a path

Since this method will just return the original path on failure, swallowing this error seems safe enough. I've seen problems with this when there are FUSE mounts present, since FUSE mounts are usually locked to 0700 permissions.