He was attempting to purchase a gun for work, but wasn't able to. He was flagged in the system which is why ICE went after him.
The police department used DHS's own "e-verify" website to make sure that Evans was able to work. So, it sounds like some of their own internal systems are unreliable.
All they really need to do is make self-driving cars safer than your average human driver.