German oil firm to remain in Libya