Fix NET::ERR_CERT_AUTHORITY_INVALID via Chrome Enterprise Policy - Fix pip Error: Externally Managed Environment-Resolving 'index.lock File Exists' in Git

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.