Query rpm to determine arch on Fedora. Fixes #14850
Merge pull request #14851 from Nibbler999/fedora-arch-detection

Query rpm to determine arch on Fedora. Fixes #14850