Always return 0 after plugins command

Closes #2012