fix for deploy:cleanup with try_sudo