Update check_for_upgrade.sh

Existence of file should be tested here, imho