Set metadata name if metadata name is not set
Merge pull request #301 from chrisroberts/metadata_name

Set metadata name if metadata name is not set