Merge pull request #6 from dparalen/master

fix no devices case
Merge pull request #5 from RedHatQE/master

Merge pull request #6 from dparalen/master