search: fix panic calling getExactFilePatterns for unguarded glob flag
Created by: rvantonder
The getExactFilePatterns
function should be guarded by the getBoolPtr(settings.SearchGlobbing, false)
flag (not or
clause). Prior to this fix, the suggestions code can trigger a type assertion error on this path.