Avoid duplicate entries with "INSERT INTO configuration..." by checking if the configuration value is already there.