This fixes serialization of the config when using specifying that packages should be downloaded as binary.