[FELIX-4371] Last Repository 1.0 failure fixed.

These code changes make the Felix Repository pass all the CT tests.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1591880 13f79535-47bb-0310-9956-ffa450edef68