} catch (NoSuchElementException e) {
logger.error("unknown region %s for image %s; not in %s", from.getRegion(), from.getId(), locations);
builder.location(new LocationBuilder().scope(LocationScope.REGION).id(from.getRegion()).description(
from.getRegion()).parent(defaultLocation.get()).build());
}
builder.operatingSystem(osBuilder.build());
builder.status(toPortableImageStatus.get(from.getImageState()));
builder.backendStatus(from.getRawState());
return builder.build();
}