fix OOIION-1608 list index out of range

The test test_13_platforms_and_01_instruments now completes fine. But note that this test (and others in the same file) are currently skipped by default per OOIION-1297.
Merge pull request #1627 from carueda/OOIION-1608_rebase2

fix OOIION-1608 list index out of range
Thanks looks good EH.