device_inject.c: dev.properties device paths must follow real device paths

Discovered by dmazar @ Clover