cmd: return proper error when command and plugin does not exist.