For a resistance to develop, ebola that has been exposed to the treatment inside a hospital has to escape back into the wild. There are significant barriers in the way of that.
If everyone on penicillin was kept in an isolation chamber, the effectiveness over time would be different.