fixes #5082 - set repository url before manifest upload