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.
Merge pull request #2476 from kinglozzer/treedropdownfield-undefined-var

FIX: Undefined variable in TreeDropdownField.php