[openSUSE/open-build-service] 0ec4cf: Refactor maintenance test data rake task as functions