Prevent bash logout infinite loop.

Only try to lock the ssh-agent if it
is actually running.
Update installer.