Add missing commas

Warnings: a thing.
Remove unused variables
Fix indentation
brew-mirror-check: fix error handling