Bug 999506 - Detect the device_root before pushing/clearing files from the device, remove hardcoded references to /sdcard