Error "Problem starting container" when using repackaged Karaf distribution

I've already described my problem in https://ops4j1.jira.com/browse/PAXEXAM-615.

This patch doesn't influence the normal behaviour for standard Karaf distributions but enables also packaged distributions to work with your plugin.
It would really help me if this patch could be included because otherwise I would have to refactor my whole build process. So please inlcude it, if it's at all possible!