Fix merge request API after #7526

#7526 changed the way how labels get validated. Since merge requests allows adding labels the same like issues, this needs also to be fixed here.