ENG-5608: Add sanity checks in Site.replayFromTaskLog().