Fix crash in post when /etc/crowbar/provisioner.json exists with no repo

In that case, we don't need to edit the provisioner proposal, but we
were still trying to upload a json (which we didn't create before).