Remove the trailing space for the error message

GCP-9948

Reviewer: Chezka Arevalo