Fix compute resource entity

Make sure that the _factory_data does not override any user provided
field value.