Corner Case: No Variable found resulted into IndexError iterating through a blank list