CommandSystem: Fix some pylint errors

3 jobs for master in 2 minutes and 47 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #13155
run-appdata

00:00:08

passed #13154
run-tests

00:02:28

 
  Build
passed #13156
run-build

00:00:10