Saving now validates the context before writing pkginfos and manifests to disk