MULE-6750: Classloading problem when there are mule plugins installed
(cherry-picked from 68adf32)