tomd: remove unused code, and include failed machine name in policy violation message