Add a check to make sure the metadata namespace is correct no matter the trailing '.' exists or not.