reorg: dump_settings gather facts to compute node prefix

Change-Id: I44345f5b95633cef8b60d297c30bc33e9caa1a82