tools: improve error handling in test426 update script
If the current SHA is not found in the README for some reason,
exit with an error.
PR-URL: https://github.com/nodejs/node/pull/62121
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>