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