Revert "fix command.c (replace getenv => factory.getenv_i)"

This reverts commit 8f1fcf6c7dccfb37afd4b46a5b65c4a122a3f53e.
fix Segmentation Fault when loading No-Such-Module