diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 886ff27c71..6944bdcac3 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -1649,7 +1649,7 @@ try // clang-format on std::unordered_set images_found; auto action = [&images_found, &default_remote, request, &response](const std::string& remote, const mp::VMImageInfo& info) { - if (!(remote == mp::snapcraft_remote) && (info.supported || request->allow_unsupported()) && + if (remote != mp::snapcraft_remote && (info.supported || request->allow_unsupported()) && !info.aliases.empty() && images_found.find(info.release_title.toStdString()) == images_found.end()) {