Heat the oil in a large saucepan over medium heat. Add onions, and cook for a few minutes. When the onions are soft, add the garlic, and cook until fragrant. Mix in the green beans; cook and stir for two minutes. Stir in the tomato paste and water, then season with salt, pepper and cumin. Simmer for 5 more minutes over low heat before serving.