[vcloud_director] Handle minor_error_code in one place.