better handling of updated hiera.yaml; reimplement auto revert submodules