Fix check_package unit test on unsupported operating systems

This unit test failed on unsupported operating systems like openSUSE
Factory.
Readd build support unit test