script/autobuild.py: use some variables for rebase_remote and rebase_branch