check_for_upgrade.sh: source ~/.profile only if it exists

When entering a new session, check_for_upgrade.sh is sourced and throws an error if `~/.profile` doesn't exist.

This fixes the problem.