The way to properly fix this issue was in fact to disable the registry scanning when we import gst from the python plugin loader since... we are 100% guaranteed this is being called from a registry scan :)
This avoids warnings for the cases where pygst.require() was already called.
Fixes #304361.