text: Title: pull: produces empty directory
  Body: # Bug Report
  
  <!--
  ## Issue name
  
  Issue names must follow the pattern `command: description` where the command is the dvc command that you are trying to run. The description should describe the consequence of the bug.
  
  Example: `repro: doesn't detect input changes`
  -->
  
  ## Description
  
  I have DVC set up with S3 remotes, probably misconfigured. When I do `dvc pull` it creates empty directories for the data and claims to have succeeded even though the `file.dvc` file lists many files taking up much space. Subsequent use of `dvc pull` claims everything is up to date.
  
  <!--
  A clear and concise description of what the bug is.
  -->
  
  ### Reproduce
  
  1. Clone the git repository of a project successfully using dvc
  2. `dvc add remote s3://something-i-probably-dont-have-access-to`
  3. `dvc pull`
  4. Confirm that no data has been obtained and no error message has been emitted.
  
  <!--
  Step list of how to reproduce the bug
  -->
  
  <!--
  Example:
  
  1. dvc init
  6. Copy dataset.zip to the directory
  7. dvc add dataset.zip
  8. dvc run -d dataset.zip -o model ./train.sh
  9. modify dataset.zip
  10. dvc repro
  -->
  
  ### Expected
  
  Either data is downloaded from the remote or an error message is emitted.
  
  The size, number of files, and md5sum in the `.dvc` file match what is present after a `dvc pull`. Mismatches lead to error messages with commands like `dvc pull` and `dvc update`. 
  
  <!--
  A clear and concise description of what you expect to happen.
  -->
  
  ### Environment information
  
  <!--
  This is required to ensure that we can reproduce the bug.
  -->
  
  **Output of `dvc doctor`:**
  
  ```console
  $ dvc doctor
  DVC version: 3.1.0 (pip)
  ------------------------
  Platform: Python 3.8.10 on Linux-5.4.0-147-generic-x86_64-with-glibc2.29
  Subprojects:
  	dvc_data = 2.0.2
  	dvc_objects = 0.23.0
  	dvc_render = 0.5.3
  	dvc_task = 0.3.0
  	scmrepo = 1.0.4
  Supports:
  	http (aiohttp = 3.8.4, aiohttp-retry = 2.8.3),
  	https (aiohttp = 3.8.4, aiohttp-retry = 2.8.3),
  	s3 (s3fs = 2023.6.0, boto3 = 1.26.76)
  Config:
  	Global: /home/anne/.config/dvc
  	System: /etc/xdg/dvc
  Cache types: <https://error.dvc.org/no-dvc-cache>
  Caches: local
  Remotes: s3, s3
  Workspace directory: ext4 on /dev/mapper/ubuntu--vg-ubuntu--lv
  Repo: dvc, git
  Repo.site_cache_dir: /var/tmp/dvc/repo/af052bc392ee89f0efbc7a8ac0aa350b
  ```
  
  **Additional Information (if any):**
  
  <!--
  Please check https://github.com/iterative/dvc/wiki/Debugging-DVC on ways to gather more information regarding the issue.
  
  If applicable, please also provide a `--verbose` output of the command, eg: `dvc add --verbose`.
  If the issue is regarding the performance, please attach the profiling information and the benchmark comparisons.
  -->
  ```console
  $ dvc pull --verobse
  2023-06-22 13:59:55,569 DEBUG: v3.1.0 (pip), CPython 3.8.10 on Linux-5.4.0-147-generic-x86_64-with-glibc2.29
  2023-06-22 13:59:55,569 DEBUG: command: /home/anne/.cache/pypoetry/virtualenvs/explore-dvc-lhhzaVKj-py3.8/bin/dvc pull --verbose
  Everything is up to date.                                                                                                         
  2023-06-22 13:59:55,803 DEBUG: Analytics is enabled.
  2023-06-22 13:59:55,827 DEBUG: Trying to spawn '['daemon', '-q', 'analytics', '/tmp/tmpqg__r3dm']'
  2023-06-22 13:59:55,828 DEBUG: Spawned '['daemon', '-q', 'analytics', '/tmp/tmpqg__r3dm']'
  ```