I still think it was Ragina. This way Ragina can lecture Emma on being a lousy sherriff and not doing her job properly and how could she let a prisoner escape… ect.
I am surprised that MM left the cell. She had been so honust and the town was starting to accept her again, why flee?