Fixes #3324 : Do not to produce an invalid sudoers file when a command was specified.

Signed-off-by: Nicolas Charles <nicolas.charles@normation.com>