Fix problems occured when specifying directories

It seems -I option doesn't work.

* When specify single directory, ``` Error: ENOENT, no such file or directory 'd'``` returns.
* When specify directories, they are ignored.