The in -d the Chef command means *don't do the detection* as it's already called in the not_if.
The -l in the Chef command means *don't install the library packages* as it's done via the recipe.