The spaces break due to stackato failing to set the env variable correctly in the first place, not due to python reading them out of os.environ.