Fix how the NULL pointer check for ps and pv cards is done.
Merge pull request #1 from mdboom/wcs/scamp_sip_distortion

Wcs/scamp sip distortion