pki: fix engine-upgrade config creation

Change-Id: I9af1bbb2be895f4d77d9a060454b72109bb5a382
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>