master.cfg: change CONFIG_VERSION_REPO before make call

We change the CONFIG_VERSION_REPO url before we start the build process. The url
depends on the target/subtarget and the branch (development or production). This
also fixes:

https://github.com/freifunk-berlin/firmware/issues/185