grub2: update test code for theme manager
grub2: only the first level theme folder in archive is valid
grub2: return -2 if timeout is disabled