Fix Qt 5 transition bug making certificate wizard access out of bounds.

Unfortunate typo which made us access empty string instead of the
guaranteed non-empty list we wanted to fill the string from.