Fix to scan only new submodules imported in configure.py