Use HOMEBREW_REPOSITORY instead of HOMEBREW_PREFIX to derive tapspath
Merge pull request #1765 from njam/issue-1765

Adjust tapspath to work with non-standard homebrew-home