Be more tolerant of nil when shell checking
Check to make sure node['domain'] is not nil before calling #include?