Allow proper matching if using refs style names for branch specifiers