Disable puppet if stage1 failed

Thanks to Daniel for the fix.