Replication debug logging clean up

Some of the existing debug logging for generate_include_map is just plain broken