You can get rid of that whole section. The best way to run a single check now is running:
python agent.py check name_of_the_check

(Since 3.6.2)