Fixes the collection of cpu metric in some openstack versions