we already have a get_magic_long() in common.sh for sysupgrade, don't break it