Adding missing get_source_patterns