Hack-fix build with different system/core/charger versions

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
another fix to ignore space then = sign
Fix zip folder selection when storage path is similar

If internal is /sdcard and external is /sdcard-ext then the zip
path used to stay on /sdcard-ext when trying to switch to internal
storage. Using Get_Root_Path instead of resizing will ensure that
the path changes properly.
Merge "another fix to ignore space then = sign" into twrp2.7
Merge "Hack-fix build with different system/core/charger versions" into twrp2.7
Merge remote-tracking branch 'upstream/twrp2.7' into twrp2.7