fixing issue with null properties in server scope

This fixes issue with getting metadata for junit xml, particularly on osx