Raise BadCommand when the command is empty. Fixes #171