cpm: Fix the help for path options

Previously when an invalid path option was given, the project name was
discarded, resulting in an error parsing the project file instead of an
error in the path command
1 job for fix-cpm-path-help in 45 seconds
Status Job ID Name Coverage
  Test
passed #39548
test

00:00:45