NPE Fix

Noticed a potential NPE while reviewing the SECA XAResource implementation