Correcting invalid package information for composer.