@maciej.dudziak, I wasn’t aware that atlassian-connect-express accepted signed first installs.
You could definitely set atlassian.connect.allow-reinstall-missing-host in production. I would recommend leaving that setting off in general, so that you can detect any shared secret mismatches. But you can definitely use it temporarily to solve a problem such as this.