Fix invalid package file.