Go back in history when opening a directory signals error
Currently the standard view displays an error dialog when there is an error and shows a directory with no items. The expected behaviour according to #1538 (closed) is to not enter the directory. The closest fix was to go back one directory if the history permits.