make uci_lookup_ptr() use the extended flag properly again