Fix Sphinx problems with cmdline flags that take defaults from environment variables

Edit by @larsbutler: solves https://github.com/zerovm/zpm/issues/101.