Fix safeguard logic for fetching python_persistent data from a SplineChar via Python.