Corrects an issue that was causing a generic \Cake\ORM\Table object to be created

This was causing issues further along the way since the generic Table object didn't have methods like the node() method