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

This is a stopgap fix for #114 - the proper fix involves more robust connection handling.