Prevent erroneous screenshot removal (#14446)

Change-Id: I6832399a888a8f99a77b6d345271d02e5cec3f54