lib: better log for empty TXT record