Fix chomp error for nil class
Fix chomp error for nil class

Signed-off-by: piyushawasthi <ec9ba23b51e6c9a1d1f02495c931376f5c6ff8f8@msystechnologies.com>

higanworks/chef,tas50/chef-1,Tensibai/chef,jonlives/chef,martinisoft/chef,martinisoft/chef,Ppjet6/chef,jonlives/chef,MsysTechnologiesllc/chef,sanditiffin/chef,chef/chef,higanworks/chef,Ppjet6/chef,juliandunn/chef,mal/chef,jonlives/chef,jonlives/chef,martinisoft/chef,Kast0rTr0y/chef,nvwls/chef,sanditiffin/chef,tomdoherty/chef,mwrock/chef,nathwill/chef,nvwls/chef,mwrock/chef,gene1wood/chef,higanworks/chef,mal/chef,martinisoft/chef,nathwill/chef,Ppjet6/chef,sanditiffin/chef,mattray/chef,Kast0rTr0y/chef,jonlives/chef,jonlives/chef,higanworks/chef,mal/chef,Ppjet6/chef,juliandunn/chef,Kast0rTr0y/chef,mattray/chef,nathwill/chef,juliandunn/chef,jaymzh/chef,mwrock/chef,tomdoherty/chef,tomdoherty/chef,jaymzh/chef,Tensibai/chef,mattray/chef,nvwls/chef,MsysTechnologiesllc/chef,Tensibai/chef,nvwls/chef,Kast0rTr0y/chef,martinisoft/chef,MsysTechnologiesllc/chef,sanditiffin/chef,sanditiffin/chef,nvwls/chef,tas50/chef-1,jaymzh/chef,nathwill/chef,tomdoherty/chef,chef/chef,Kast0rTr0y/chef,nathwill/chef,nvwls/chef,juliandunn/chef,mal/chef,gene1wood/chef,Tensibai/chef,tas50/chef-1,chef/chef,gene1wood/chef,MsysTechnologiesllc/chef,Ppjet6/chef,Ppjet6/chef,Kast0rTr0y/chef,jaymzh/chef,mattray/chef,mal/chef,tomdoherty/chef,mattray/chef,higanworks/chef,sanditiffin/chef,chef/chef,mal/chef,juliandunn/chef,tas50/chef-1,Tensibai/chef,nathwill/chef,mwrock/chef,gene1wood/chef