Filter out any empty requires in source files.