[ranger] Fix broken format string