Allow override for BASE_URL

Spawned from https://github.com/coreos/init/pull/123.