udevprovider fixes

those two we use for quite long in openelec 
/cc @davilla @jmarshallnz