Redmine #4203: Fix software reports having "env" as package manager.
Redmine#3442: added staged test in 10_files/templating/staging/array_expansion.cf
Fix RealPackageManager() when first word is "env".

Because the index of the first space after env is 3, not 4, we need to
make sure that it doesn't depend on the "< 4" check.
Fix consecutive spaces in RealPackageManager().

We should skip over them.
Merge pull request #1624 from kacfengine/env_package_manager

Redmine #4203: Fix software reports having "env" as package manager.