Fixed #380: Make update_code rollback code sudo aware by adding #{try_sudo} in front of the rm -rf command