Remove excluded module from the list of modules