Fix #2288 . Change urllib3 and chardet workflow

 This modified workflow first tries to clone the urllib3 or chardet and then removes it from requests/packages if successful. If the cloning is unsuccessful then the packages are not removed.