[openSUSE/open-build-service] a61ae7: Reorganize code