Fixed PackageConfig.cmake. Dependencies are searched by components and context is always restored to its previous state.