only call shell_exec if enabled
fix comment
Merge pull request #5389 from owncloud/fix_shell_exec

only call shell_exec if enabled