Return machine from action_ready

machine_spec.save doesn't return machine, and the other actions calling action_ready assumes the action to return machine