Fix error if there are no git tags
Fix error if there are no git tags

see #3592

pferreir/indico,indico/indico,ThiefMaster/indico,DirkHoffmann/indico,ThiefMaster/indico,mic4ael/indico,DirkHoffmann/indico,OmeGak/indico,ThiefMaster/indico,mic4ael/indico,DirkHoffmann/indico,ThiefMaster/indico,OmeGak/indico,mic4ael/indico,mic4ael/indico,mvidalgarcia/indico,indico/indico,mvidalgarcia/indico,pferreir/indico,OmeGak/indico,mvidalgarcia/indico,OmeGak/indico,pferreir/indico,pferreir/indico,indico/indico,DirkHoffmann/indico,mvidalgarcia/indico,indico/indico