Fixed an issue with production branch checking the master branch wrongly.