Remove some unneeded stuff from the list of sources