Fix segfault on empty configuration value

If you put debug= into a config file, we get a segfault.
This fixes that.

Signed-off-by: Andrew Poelstra <asp11@sfu.ca>