Fix SIGSEGV bug in LauncherComponent

Never use foo((owned) array) if you use that array after the call.

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>