Improve error message friendliness when an environment has packages with corrupted metadata.