Workaround for ConfigParser deepcopy issue on python 2.7+
Use deepcopy workaround where needed
use deepcopy workaround for ihope