procd: fix parsing of the has_env parameter