CA-150338: Importing system template causes XenCenter to throw an except...

...ion

-Fixed NullReferenceException