fix before-bug-report-command

when brew-cask has been "latest" already, "brew upgrade brew-cask" fails and not exec following 2 "cleanup"s.