Fix null pointer issue

 Fix null pointer error in GetNhinDataSource when reusing a source with null properties.