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 #1626 from carueda/OOIION-1608_rebase

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