rpi-update incorrectly detects latest git commit when called with BRANCH=next, because 'master' is hardcoded into the check