what_to_hash is the correct pattern to use

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>