Check if shutil is not None in Requests.py. Fixes #5331