Fixes the metadata agent configration

backport: havana

Change-Id: I262f954d61a9af2b74baf566cfe6258cc2044417
Closes-bug:#1262084
Merge "Fixes the metadata agent configration"