Allow pkg.install to install packages with an arch in the name

This is for (often) poorly created vendor packages such as kernel modules
where you can't easily re-spin a more correct rpm due to vendor support
issues.

Fixes #13924

Sorry this took so long gents, I've been i sick since last week (and even have taken 3 days off of work this week).

This PR supercedes #15343