cmd/dist: permit go* tag in main branch when it includes "beta"
cmd/dist: permit go* tag in main branch when it includes "beta"

This change allows us to give an hg tag such as "go1.3beta1" to
revisions in the main branch without breaking the build.

This is helpful for community members who want to build the beta
from source.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/90190044

tv42/old-go,pombredanne/go-deleteme,tv42/old-go,tv42/old-go,pombredanne/go-deleteme,pombredanne/go-deleteme,pombredanne/go-deleteme,pombredanne/go-deleteme,tv42/old-go,tv42/old-go,pombredanne/go-deleteme,tv42/old-go,pombredanne/go-deleteme,tv42/old-go