aosp-stable: Fix the usage of device_type during backup