return error if bad dir specified
Merge pull request #110 from Trott/error-on-bad-input-dir

return error if bad dir specified