Yes, getting master's there is an option. But how would you explain dropping out of your PhD track when you apply to another school for a PhD? Given that you might also need the consent of your teachers at this program, from whose LOR's you can benefit.