- look for the --env and --no-debug only before a -- separator, to respect
the support for --
- avoid passing an empty string as parameter option name (which would never
match anyway, but causes php warning is some Symfony versions instead of
being ignored silently).