Don't attempt to upgrade a brew that is already up to date

Fixes #257.