DEV: Return a non-zero exit code when `discourse remap` is aborted (PR #12873)

This makes it much easier to integrate the script with external tools

GitHub