Increase the tag length limit from 30 to 1024

Re: https://github.com/docker/docker/issues/8445