Import the bundled packages in case of import errors.

Refs #11931 and #11932.
Don't fail badly at this stage if importing is not possible.
Merge pull request #11957 from s0undt3ch/hotfix/urllib3-import

Import the bundled packages in case of import errors.
Don't let YAML split long lines