scripts: make ci-config-helper more generic

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>