Patching check_for_upgrade.zsh with correct function name.