Fix: Reset "extensions" variable as well when refreshing cache