Fix missing sanity check in /dev/sg