diff --git a/cdist/conf/explorer/os b/cdist/conf/explorer/os
index 77c8a76a..d1f3ccb4 100755
--- a/cdist/conf/explorer/os
+++ b/cdist/conf/explorer/os
@@ -143,7 +143,7 @@ esac
 if [ -f /etc/os-release ]; then
    # already lowercase, according to:
    # https://www.freedesktop.org/software/systemd/man/os-release.html
-   grep '^ID=' /etc/os-release | sed -e 's|^ID=||'
+   awk -F= '/^ID=/ {print $2;}' /etc/os-release
    exit 0
 fi