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.
Merge pull request #701 from sbesson/rebased/develop/homebrewjob_fix

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