Fixes #5187: use commands with their full paths in sudo parameters
Merge pull request #434 from ncharles/bug_5187/dev/invalid_use_of_commands_without_paths

Fixes #5187: use commands with their full paths in sudo parameters