(core:lua) fixed seg. on missing 'source' field in target_input