Fixes #8226 - Support environment variables on creation

To be merged after https://github.com/fog/fog/pull/3270 is merged and the next minor version of fog is released.