Fix bug DNN-5285: add overload method of GetExtensionPackage to use a copy of the package object but no return object from cache directly, so change on object will not affect the info from cache.