--- rpm-5.4.10/lib/psm.c~ 2012-09-10 07:58:10.220193941 +0200 +++ rpm-5.4.10/lib/psm.c 2012-09-10 08:00:38.723522037 +0200 @@ -1172,11 +1172,8 @@ assert(fi->h != NULL); She->tag = psm->scriptTag; - if (!headerGet(fi->h, She, 0)) - goto exit; - Phe->tag = psm->progTag; - if (!headerGet(fi->h, Phe, 0)) + if (!headerGet(fi->h, She, 0) && !headerGet(fi->h, Phe, 0)) goto exit; /* Coerce strings into header argv return. */