Try and detect current user in a way that doesn't crash when not running
in an interactive terminal.
Provisioning replaces stack-installed deployer with our dev version.