Don't use hardcoded branches, reimplement some lost rebased code.

We now honor config repositories - in principle this means that the
stock config/ folder in the Kitchenplan application repo should go
away in favor of the "config/dependency repository" pattern.