tiny fix to current autocompletion

* this will enable autocompleting queries like 'file dataset=/Zmm...'
  - earlier it was returning no matches as the whole query was being used to search for dataset
Merge pull request #4153 from dmwm/autocompletion_fix

tiny fix to current autocompletion