Correct check for character device

The procket helper will only open devices under the /dev directory.
Append "/dev/" to the device name for the permissions check.