generator: fix has_ext for Volt and MODULE-name