some helpers to extract exported packages from osgi