Improve 'helm-ag-pop-stack'

User can pop stack when `helm-ag` is executed in buffer which
is not related to file.
Merge pull request #13 from syohex/improve-pop-stack

Improve 'helm-ag-pop-stack'