Updated parse_lshw(..) to work with puppetdb_api.
Used better msg when no facts found.
Merge pull request #1233 from xliiv/fixed-puppetdb-api

puppet plugin fix