Linux: Opening measurement directory should show a better error message

This only happens if users run hpcviewer on the command line.

It works fine if we open the directory via the File-Open menu.

Edited by Laksono Adhianto