fix script errors when Dc.sensu.checks is null (#114)