Error: "Failed to generate package. The chain context handle is invalid..." when generating CEM agent packages