catch (ItemNotFoundException ignore) {
// skipping as it looks like member is not an Yum repository
}
if (repomdItem != null && repomdItem instanceof StorageFileItem) {
try (InputStream in = ((StorageFileItem) repomdItem).getInputStream()) {
final RepoMD repomd = new RepoMD(in);
for (final String location : repomd.getLocations()) {
String retrieveLocation = "/" + location;
if (!retrieveLocation.matches("/" + PATH_OF_REPODATA + "/.*\\.sqlite\\.bz2")) {
log.trace("Retrieving {}:{}", memberRepository.getId(), retrieveLocation);
memberRepository.retrieveItem(new ResourceStoreRequest(retrieveLocation));
}