Fixed catching exception on atomic block.

* Fixed not doing get_or_create on build_service_interface for Machine model.