Fixed NPE

Signed-off-by: Oliver Libutzki <o.libutzki@external.telekom.de>