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 #699 from sbesson/homebrewjob_fix

Fix OMERO-homebrew* jobs when Homebrew installation failed