configure.sh: fix puppet exit code check on step 0