Change optional config values from empty string to nil

Empty strings are truthy, causing default values from being set.