Merge pull request #237 from zyga/fix-empty-subcommand

Don't crash if subcommand has no commands of its own