Fixed a bug in the metadata refactor code.

Merge branch 'extension-OS-SI' of github.com:rackspace-titan/nova into extension-OS-SI

Change-Id: I4e68cb8d9d07a35d88b617e2a6655c7a43d32e32