reader: optionally validate index matches workdir When using a workdir reader, optionally validate that the index contents match the working directory contents.