Recover getBaseInstrument for Python API

re #8001
Merge branch 'bugfix/8001_getBaseInstrument' into develop