Make the tab "go up" if it's current directory is deleted