Revert "fixes #377 - don't allow empty cmd in AppDefinition"

This reverts commit 14a6ceb58d237e780649a3588878ed6a53fd0462.