Fix missing env field for system record