fix lookup of profiles dir

Plugins will know where they are, they can inherit from other plugins as well.