ENG-5899 Fix restore with no tables.