Split function in two parts: detect_format() and get_source_paths()
Split function in two parts: detect_format() and get_source_paths()

vivekanand1101/pontoon,m8ttyB/pontoon,m8ttyB/pontoon,jotes/pontoon,m8ttyB/pontoon,mozilla/pontoon,jotes/pontoon,sudheesh001/pontoon,participedia/pontoon,mathjazz/pontoon,Osmose/pontoon,yfdyh000/pontoon,jotes/pontoon,yfdyh000/pontoon,vivekanand1101/pontoon,yfdyh000/pontoon,sudheesh001/pontoon,Jobava/mirror-pontoon,Osmose/pontoon,mozilla/pontoon,mastizada/pontoon,mastizada/pontoon,Jobava/mirror-pontoon,Osmose/pontoon,sudheesh001/pontoon,Jobava/mirror-pontoon,mozilla/pontoon,mozilla/pontoon,yfdyh000/pontoon,mastizada/pontoon,sudheesh001/pontoon,vivekanand1101/pontoon,mathjazz/pontoon,mathjazz/pontoon,vivekanand1101/pontoon,participedia/pontoon,mathjazz/pontoon,mastizada/pontoon,m8ttyB/pontoon,participedia/pontoon,mathjazz/pontoon,Osmose/pontoon,jotes/pontoon,participedia/pontoon,Jobava/mirror-pontoon,mozilla/pontoon