Launcher: the returnedObject can be null, account for it

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>