Fix remote absolute path resolution