Compress declarations between FOSS and PE

Prior to this commit we had a fair amount of duplicate code between
FOSS and PE. This commit moves the package dec to the `r10k::install`
class.