Fix broken URL generation for projects without clients