add --repo cmdline option to allow override the nightly repo