try {
        if (this.site.stagingOf) {
            this.doLog('This is a staging site, resetting to ' + this.site.stagingOf + '...');
            // skip the backup pre-restore because we already made a backup
            yield this.runNested(site.resetStagingTask( { backup: false }));