There is risk in transporting infected people. How much depends. It depends on communicability, lethality if infected, whether or not there is effective treatment, and safeguards. Ebola is highly lethal, with no good treatments -- so you can't get much worse there. The only "good" thing is that, while it is obviously communicable, for various reasons, it isn't as communicable as influenza, TB, syphilis, etc. However, it does have an incubation time of 2-20 days, during which an infected individual is asymptomatic and for at least some of it is infectious.
This is all fine if no one else gets infected and spreads it to other people. Odds of that are high.
This is all not fine if someone gets it and starts spreading it to others. Odds of that are low. But not zero. Keep in mind that the doctors who got infected surely know the ways to safeguard themselves against infection, yet got infected.
So, is it a good decision to do it or a bad one? Different people will have different answers to that. It's like flipping a coin 20 times. If you get tails 20 times in a row, you are dead. If you don't get 20 tails in a row, you get X. For some value of X, the gamble is worth it to some people and not to others.