diff --git a/cdist/conf/type/__user/explorer/group b/cdist/conf/type/__user/explorer/group
index b95f3d01..5b9ab5c4 100755
--- a/cdist/conf/type/__user/explorer/group
+++ b/cdist/conf/type/__user/explorer/group
@@ -26,7 +26,7 @@ if [ -f "$__object/parameter/gid" ]; then
    if [ -x /usr/bin/getent ] || [ -x /bin/getent ]; then
       getent group "$gid" || true
    elif [ -f /etc/group ]; then
-      grep -E "^(${gid}|([^:]:){2}${gid}):" /etc/group || true
+      grep -E "^(${gid}|([^:]+:){2}${gid}):" /etc/group || true
    fi
 fi