Without the [[:blank:]], that regexp detects branch names with dashes as invalid option.