Off-by-one error in gocomplete.vim?

When I autocomplete e.g.

```go
package main
import "net/http"
func init() {
  http.<-
}
```

I currently get the single autocompletion entry "package http". If I type a second '.' and autocomplete again, I get the proper contents of the http package. The proposed change fixes this behavior for me... Am I doing something wrong somehow, or is this actually broken?