Only calling AutoloadGenerator if any autoloads have been found