Bugfix: fix segfault on empty shell command