Fix AttributeError: 'list' object has no attribute 'items' in cloud.py run_func_until_ret_arg()