Fix ro_metadata so that it looks for the correct RO URI when nested ROs are present
Apply RO URI fix to ro_remote_metadata