Properly determine homebrew user.

Fixes https://github.com/saltstack/salt/issues/3738