remove initialization loop error from compile

copied HugoCmd to a local var, initialize that variable in the init
func, and then use the local var in the InitializeConfig func.