Fix condition when node['ipaddress'] is nil