[configfile] Adding a check for null node