Fix travis error while checking branch name