Adding a Null Check to VDIR properties for iisdirinfo

I was having trouble with using iisdirinfo due to a null value for a property. I've added a check for null to the property and this has gotten me around the issue