Remove hub alias
Use which correctly to check for homebrew