fix NPE regarding cmd change in plugin.yml

Signed-off-by: Robert Xu <robxu9@gmail.com>