code completion: filter out non existing directories from the search path