Fix #512: "KeyError: remote_os not found"