calling get_repo_checksum_type function only once during metadata publish step and using it in other publish steps to avoid overriding distributor config