Fix crash in ppd parser.

Only access pKey after we've set it.

Change-Id: If0be3972c36b3da9d9a456fe3746224372a443dc