[Common] Move get_config_info() function in clone.py to common.py.