In Bionic, "lshw -json" output one dictionary per item it was
displaying. In the case of multiple items (e.g. "-class network" with
multiple adapters), it would output multiple dictionaries in sequence.
In Focal, "lshw -json" outputs records in a list, which is more
correct for JSON parsers, however it breaks our current parsing.
The fix is simply to grab the first item in the list and act upon it.
Since the "lshw -json" query outputs the system record by default,
there will only be one item for our case.
When the ipmi cronjob is configured, the nagios user will run the croned
script. However, the configuration of the nrpe check reconfigured the
cronjob to be run as root. This fix makes the cronjob be always run by
the nagios user.