Remove dead code
Correct package guessing code to fill in value to indicate result

Thanks Paul for spotting my dumb mistake