* helm.el (helm-read-pattern-maybe): Fix check if buffer is empty with helm-get-current-source.