plugins/command: fix missing attribute error