Fix parsing of inferred stability flags that are more stable than the min stability
Fix typo, fixes #2126
Add debugging info for invalid zip files to try and get to the bottom of it, refs #2125