Fix NPE when using no subcmds