add missing imports
remove useless "if conf.debug", this is handled now by the debug level
'clara repo sync' add extra debugging line