don't break when invoked without specifying directory fixes #8

invocations like 'python graph-explorer.py' means the dir is
an empty string