FIX: Undefined variable in TreeDropdownField.php

I'm guessing this was just a simple typo. Checked this by searching on SiteTree, behaves as expected after this change.