handle branch names that start with an actual branch