handle Tap read error in `brew cask doctor`