Use brew list as backup when brew which fails. Fixes #226