refactor: move YumPayload._setUpMedia() up to PackagePayload._setupMedia().

So DNFPayload can share this.
refactor: extract the device handling in YumPayload._configureBaseRepo up to PackagePayload.

Do this so it can be shared with DNFPayload.
nomerge: tweak path to the additional repo in the ks.