Fix in case checksd_hostname is not set

This shouldn’t happen except in tests though.