resolved: fix which return codes we check

Discovered by Lukas Nykryn
journal-remote: remove unreachable code