Properly handle a base directory that is not '/home/${user}

Set the SVDIR environment variable in the user's $HOME/.bash_profile rather
than in /etc/profile.d.