can i change all of lines 447:450 to
```ruby
      @host.compute_resource_id = nil unless ComputeResource.exists?(@host.compute_resource_id)
```