Fixes #5231: Using digest to copy ncf promises to really enforce copying changes