Give error in case input directory is not found

Closes #9.