Fix tab completion for branches containing dots

Completion after the dot would be seen as the beginning of a new argument. This is correct behaviour for two dots (e.g. HEAD~2..master) but not for one dot (e.g. fix-v1.4)

This should fix #87