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

@domcleal, apparently the previous comments were on the SHA and got deleted after I added this line and squashed it into the previous commit. Now, update through API throws a validation error if provider is blank or not a known provider.