qa_crowbarsetup: Restructure sles repos handling

Move SLES repository handling to single function and add local
repository support.