discover: Always add a NUL byte to config data