n> <span class="ne">RuntimeError</span><span class="p">(</span><span class="s1">'Archive does not contain a single root directory'</span><span class="p">)</span>
            <span class="n">nested_src_dir</span> <span class="o">=</span> <span class="n">p</span>


    <span class="k">if</span> <span class="n">nested_src_dir</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
        <span class="n">path</span><span class="o">.</span><span class="