We use pgrep -fl in a few places. This used to return the full command names for each matching process. This no longer seems to be the case with 7.x. The command names are truncated. There is a new -a switch which causes the full names to be displayed. Unfortunately, the -a switch is not available on earlier versions and the command fails if it is included.
Code needs to be updated to detect which switches are available and then assemble the correct command.
This is very important. pgrep is used to ensure multiple processes aren't forked for the same reservation.