ccmake: Fix infinite loop during invalid search
Fix issue introduced in !7257 (merged). Leaving the Empty Cache widget always on the Entry list had unforseen consequences, including that it caused an infinite loop when searching for a string that did not match any CACHE variables.
Backport: release
Edited by Brad King