Properly determine brew user

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