[openSUSE/open-build-service] a1693c: Reduce number of lines of a method