#274341 by mooffie: Check for the presence of template files so that we can tell if a template got renamed but theme registry was not cleared.