Config: Fix handling of values that contain whitespace