Modified the check for sources.list.