Fixed issue with publishing config when there is only one config variable for a plugin