Plugins loading was broken as those patches were removed in latest release. I brought patches back and updated them onto 2.38 release code base. This closes #35446.
Motivation for change: Update to software.