fix(check commands): Make sure to always pass an array when creating or updating an agent.plugin check.