Redmine#4668: make inventory bundles agent bundles and gate them better

see https://cfengine.com/dev/issues/4668