Fix a mistake in Sudo implementation (LEV-90)