Use sudo only if prevent_sudo is not set

Honor the prevent_sudo configuration setting when creating and removing the chef staging directory.  Sudo is not always installed (e.g. docker containers).