add --repo cmdline option to allow override the nightly repo
add unit tests for mozregression.fetch_configs