added additional fixes to methods in EuInstance class to handle sudo resolution errors