Improve the sanity of the replication logging (generate_include_map)

Some of the original debug logging is spitting out misleading/incorrect messages