fix bug of workon got stuck while found multple match results when search not existed directory
Latestfix bug: when using workon to jump to a directory which not existed in the datastore, then it tried to search the directory and add one to the datastore, but when the search result got multiple values, it got stuck. Use first as default.