Fix for LP bug 1384506 - get version of metadata returns junk

Change-Id: I818165d7497b2661fed3400dce8f6e8857607dd8
Merge "Fix for LP bug 1384506 - get version of metadata returns junk"