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

@domcleal, this code works fine in compute_resource.rb
```ruby
  validates :provider, :presence => true, :inclusion => { :in => proc { self.providers } }
```
but it wasn't being called since an exception was thrown