improve error message in `brew cask _dump`
Merge pull request #6967 from rolandwalker/dump_tweak

improve error message in `brew cask _dump`