Update ssh-agent logic.
Fix PATH for brew.