fix scripts/inspect_localstorage to handle both old-style, issuer groups and mixed.

my previous "fix" was wrong in some cases; this is perfect now!