cyclades: Fix IndexError