guard against an empty host_string for db_slave role