[PATCH v2] Improve error message in remoteGetUNIXSocket