* helm-files.el (helm-ff-update-when-only-one-matched): Check existence of strings before comparing.
(helm-ff-auto-expand-to-home-or-root): Check eol in minibuffer-window buffer is enough.