add some safety to the saltenv additions in the py renderer