OHAI-546: Return what we have at the end of the provides map

Some attributes are dynamically defined, e.g. network/interfaces/eth0, so
we cannot declare them using provides prior to running the plugin. Return the
closest plugin we can find in the provides map.

This may limit multiple plugins providing dynamic attributes from the same level.