Fix gsutil cp -nv bug that causes UnboundLocalError when skipping existing files