chpst: fix "env directory" parsing to not strip everything