test-subprocess: fix segfault without arguments