Fix a bug in the manifest parser so that it is able to parse the
PGP headers even if the header contains \r characters.