udisks: rework automounter script

Signed-off-by: Stephan Raue <stephan@openelec.tv>