Fix skipping over invalid registry packages #6912
It's true that this wasn't caught before! I honestly don't know how we'd catch it though. It'd pretty hard to catch bugs you don't know exist... We could always just simply add more tests but I have no idea how this would have been caught without an incredibly specific test for this exact scenario.
I basically just happened to catch this by a huge stroke of luck I think. I was curious if building