Fix `print-explicit-runtime-reps` (#11786).

Authored by sighingnow on Jun 7 2018, 7:43 PM.