Fix metadata agent for Red Hat distros

Change-Id: Ia0793970f7cf2c0818aa583c5b53f14b472c495d