Make PM_* optional

These are optional arguments so need to be given a default as nounset is
set. This deals with "unbound variable" errors.

Change-Id: I1ee059aba29f4e7a546f110348b39cc9eb34ef4c