Oh it works, because Desktop Agnostic doesn't return a path for remote locations, only an uri, that means if (path) should be false for remote locations. The surrounding code works with this assumption, too. Anyway, here is a patch with a different approach.
Oh it works, because Desktop Agnostic doesn't return a path for remote locations, only an uri, that means if (path) should be false for remote locations. The surrounding code works with this assumption, too. Anyway, here is a patch with a different approach.