Fix managed fields patch for resources using GenerateName
