Small refactoring in get_root_type_name_tag
Small refactoring in get_root_type_name_tag

Summary: Flatten the indentation of the loop.

Reviewed By: minjang

Differential Revision: D25596266

fbshipit-source-id: 24803d617466266e85f2d01082a2349ead60bead

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex