It wouldn’t be in KOTOR because there is no Empire yet. Fun fact that I noticed many years ago, though: The Imperial March is not to be found anywhere in Episode IV, either. John Williams didn’t compose it until The Empire Strikes Back.