[api] workaround migration problem from OBS 2.5