This change ensures that content-hash generated by poetry < 1.2 does not trigger unnecessary warnings and operations. We do this by using a backwards compatible hashing logic.