Fix behaviour when file name is selected

When file name (actually any path) was selected, then run_diff tried to open it.
It made impossible to compare two selected paths