brew: fix reversed exit codes