minor code tweaks
support for components with no paths entry via @00Davo