remove type parameters on getBundlePath and getBundleRepository form Reflection class