fixes #7336 - editing compute resource should not clear existing attributes from the form

If I try and update a CR via the API with an invalid provider, I don't get any validation error, only that debug log message.  Should this line set self.type to `value` even if it's not known?