Fix/facter 2/env home nil

This fixes [FACT-190](https://tickets.puppetlabs.com/browse/FACT-190).

For more info about this PR, check the conversation with @adrienthebo on the [previous PR](https://github.com/puppetlabs/facter/pull/681).