ncm-sudo: add support for secure_path

First commit is whitespace changes, and the second one is the real one-line change.