Actually, we need to test if the repomd.xml file exists. With https://github.com/crowbar/crowbar/pull/1887, it's possible that Cloud-PTF is not local and in that case, there will be nothing to sign.