Fixing typo in formatted string

Fixes #10758.

@basepi, please cherry pick.