The original plan for KOTOR 2 was for a Yoda-esque alien to be your master
EG:
"The initial twist in the first two-page concept we had for Knights of the Old Republic 2 was you were going to be trained by a Yoda-like figure," Ohlen says, "someone from the Yoda race. That character was going to train you in the first part of the game but then you were going to discover this Yoda figure was actually not the good Yoda you expected...
"He was training you to essentially be his enforcer, a Dark Lord to conquer the universe, and he was going to become the main villain."