Fix loading of python transforms

- [finishes #43339311]