Fix list-jobs error on blank directory #36 . Also added test file
Merge pull request #53 from metridoc/fix_jobDir_listFiles

Fix list-jobs error on blank directory #36 . Also added test file