Fix OMERO-homebrew* jobs when Homebrew installation failed (rebased onto develop)



This is the same as gh-699 but rebased onto develop.

----

Simply test existence the $BREW_DIR folder instead of testing the existence of
a full Homebrew installation before wiping out $BREW_DIR.