initialize/env: handle nil substitution maps properly

sorry @crawford