Fix using wrong pagerduty key attribute

Also fix the case where the attribute can be nil causing a cookbook
failure when using the old attribute name.