PMC: Improve argument management

This should fix the case where a task has quoted arguments with spaces.
PMC: Add cppcheck to test target if it exists