Fix remote paths