Small config bug in autotvm

@comaniac in my case it happened when I was logging the config at the top of a compute / schedule function, before all knobs were defined, which is sometimes useful given the dual collect / apply behavior of config.

Good solution btw, a lot better than my suggestion.

ConfigSpace._collect is always true.

True, but on subsequent calls to the same compute / schedule functions config is a ConfigEntity which has _collect always false, no?