bug: shell install with arguments lead to infinite loop in batch mode (fixes #60)