Fixed an unnecessary call to set tos expected dist to root.  It could be called on an uninitialised object too.