fix issue with try_sudo and REVISION