make pip use correct requirements file when already cached (fixes #4450)