Small change to the previous commit to avoid an exception

Change-Id: I4901c29cff14bd4adafa2efcfb8fe1cc4042dc25
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>