Make sure not to include Main and Paths_ module when already in list.