Fix error display when datasets/ directory is absent