fix remote_path migration. fixes #414