root.sh: Make sure we return 1 on errors

The cleanup function might return 0. Check for the stamp to avoid that.
This makes the build fail if not all packages are available for
installation.
1 job for exit-error in 13 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed job #5250
librem5

00:00:13