Robustify brew output parsing