add getByNamespace in PackagesCollection