Update(__add_to_environ): Initialize ep after we have the lock.