Correctly mark corrupt extensions in the extension manager