Handle check_output exception
Handle check_output exception

The CalledProcessError exception needs to be handled, similar to
https://github.com/redhat-cip/hardware/blob/master/hardware/detect_utils.py#L29.

enovance/hardware,redhat-cip/hardware