check for presence of node[dmi]. not all systems have dmidecode data

EC2 instances and some KVM instances dont have a node['dmi'] which causes this to error.