Check the default branch (both from site.conf and GLUON_AUTOUPDATER_BRANCH) against the list of configured branch names to avoid misconfiguration.