added a check ensuring resource pointer is valid before message attempts to clone it.
added a check ensuring resource pointer is valid before message attempts to clone it.

mbmcgarry/cyclus,rwcarlsen/cyclus,hodger/cyclus,hodger/cyclus,Baaaaam/cyclus,rwcarlsen/cyclus,Baaaaam/cyclus,mbmcgarry/cyclus,rwcarlsen/cyclus,gidden/cyclus,gidden/cyclus,gidden/cyclus,rwcarlsen/cyclus,mbmcgarry/cyclus,Baaaaam/cyclus,hodger/cyclus,mbmcgarry/cyclus,hodger/cyclus,hodger/cyclus,gidden/cyclus