remove code from exists case because it is identical to case error

Change-Id: I23bb537026cef6299149ca361cee30a98284772d