Currently if AUTOUPDATE='no' and CHECKUPDATE='yes' the script doesn't respect the GIT_OWNER and BRANCHNAME variables while setting the UPSTREAM_GIT_URL. Instead it reverts to the default owner of mrworf and branchname of master.
Move the setter of UPSTREAM_GIT_URL to plexupdate.sh as it relies on config variables.