Updated vmodules registration to skip invalid registries