better regex to match upstream branch