PDI-9780 - Changing metastore ownership check to check metastore name in...

...stead of element name