Fix eval and perms for jenkins sudo