Fix OMERO-homebrew* jobs when Homebrew installation failed

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