MS-1191 handle nils gracefully in RemoteModel.from_api