Update rsyslog::client to handle PE 3.7 null value

In PE 3.7, comparing undef and '' does not return true. This updates a
check to handle the case of an undef value properly.