Update search in directory to work with tree view

The tree view was updated in atom/tree-view#219 to not use space pen
views so update the search in directory command to pull the path directly
from the DOM element.