[FrameworkBundle] tweaked reference dumper command (see #7093)

The same as #7093 just for 2.1.