[obs-commits] [openSUSE/open-build-service] 779efd: [api] DRY code by splitting out redirect loop