Improve helm-walk-directory directory checking.

* helm-utils.el (helm-walk-directory): Add comments,
make checking of directory a little faster.