When foreign aid stops flowing, local leaders and diaspora communities can, under certain conditions, step in.