lsi: fix segfault in lsi_command_complete