Allow override for BASE_URL

Spawned from https://github.com/coreos/init/pull/123.
How about `[[ -z "${BASE_URL}" ]]`