After some more research I think both races conditions should be fixed here: https://github.com/aplanas/dracut-pcr-signature/pull/4