#375931 by Senpai, Dave Reid: system.install should clear out module list and hook implementation statics before calling system_theme_data()