fix dict access error

Signed-off-by: Sebastian Schüpbach <sebastian.schuepbach@unibas.ch>
2 jobs for master in 1 minute and 43 seconds (queued for 2 seconds)