Fix new command
Fix new command

This was caused by bad porting of lm API usage.

Fixes #3355

xuwei-k/xsbt,xuwei-k/xsbt,mdedetrich/sbt,mdedetrich/sbt,mdedetrich/sbt,xuwei-k/xsbt,sbt/sbt,sbt/sbt,sbt/sbt,mdedetrich/sbt,sbt/sbt,sbt/sbt,mdedetrich/sbt,mdedetrich/sbt,sbt/sbt,xuwei-k/xsbt,xuwei-k/xsbt,sbt/sbt,mdedetrich/sbt