fixed PY-14391 NPE at com.jetbrains.python.testing.PythonTestConfigurationProducer.setupConfigurationFromContext

(cherry picked from commit e96972d9321fa18ea653c64e6c84f44f13eb1285)