setup.c: check that the pathspec magic ends with ")"