[script] Add check for armv7hl/noarch RPMs. Fixes #24

Also update unit tests.