SchemaDigester: simplify the code more

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>