[obs-commits] [openSUSE/open-build-service] 0fb892: Extract helper and replace if with case